<template lang="html">
  <section class="components-course_detail-course_desc" v-if="description && description.length > 0">
    <div class="ca_title">
      <div class="line_one"></div>
      <div>Schedule</div>
      <div class="line_two"></div>
    </div>
    <div v-html="description" class="ca_art">
      <!-- <p>介绍：蓝球是有助于提高身体素质，促进健康，培养团队合作精神。</p>
      <p>特点：增肌 塑形 弹跳力</p> -->
    </div>
  </section>
</template>

<script>
export default {
  props: {
    description: {
      type: String,
      required: true
    }
  }
}
</script>

<style lang="scss">
.components-course_detail-course_desc{
  width: 100%;
  margin-top: 32px;
  box-sizing: border-box;
  padding: 0 30px;
  .ca_title{
    color: #ff4908;
    font-size: 23.75px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .line_one{
    width: 224px;
    border-bottom: 2px solid #ff4908;
  }
  .line_two{
    width: 224px;
    border-bottom: 2px solid #ff4908;
  }
  .ca_art{
    width: 100%;
    overflow: hidden;
    padding-top: 35px;
    img{
      width: 95%;
    }
    p{
      color: #fff;
      font-size: 25px;
      margin-bottom: 30px;
      line-height: 50px;
      letter-spacing: 1px;
      display: inline-block;
      position: relative;
      text-indent: 25px;
      font-weight: 100;
      &:before{
        content: "\200B";
        height: 10px;
        width: 10px;
        border-radius: 5px;
        background-color: #FFFFFF;
        position: absolute;
        top: 20px;
        left: 0;
      }
    }
  }
}
</style>
